package com.yanqu.road.entity.log;

import com.yanqu.road.entity.FieldTypeAnnotation;

import java.util.Date;

@FieldTypeAnnotation(tableName = "t_l_ck_activity_ghost_buy_buff", desc = "鬼市buff升级", autoSave = true, uploadCk = true)
public class LogGhostBuyBuff extends ServerBaseLog {

    @FieldTypeAnnotation(desc = "活动id", isIndex = true)
    private int activityId;
    @FieldTypeAnnotation(desc = "用户id", isIndex = true)
    private long userId;
    @FieldTypeAnnotation(desc = "升级buff消耗")
    private String cost;
    @FieldTypeAnnotation(desc = "升级后等级")
    private int newLevel;

    public LogGhostBuyBuff(int activityId, long userId, String cost, int newLevel) {
        this.activityId = activityId;
        this.userId = userId;
        this.cost = cost;
        this.newLevel = newLevel;
    }

    public long getUserId() {
        return userId;
    }

}
